package com.ibeetl.admin.console.dao;

import org.beetl.sql.core.annotatoin.Param;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import com.ibeetl.admin.core.entity.LeaveMsg;
import com.ibeetl.admin.core.entity.PayOrder;
import com.ibeetl.admin.core.util.enums.GeneralStateEnum;

import java.util.List;

@SqlResource("console.payorder")
public interface PayOrderConsoleDao extends BaseMapper<PayOrder> {

    PageQuery<PayOrder> queryByCondtion(PageQuery<PayOrder> query);
    
    PayOrder queryById(String id);

    void batchDelPayOrderByIds(List<String> orderNos);
    
    int delPayOrderById(String orderNo);
}
